package neu.soft.mapper;

import neu.soft.entity.GoodInfo;
import neu.soft.entity.OperationPurchaseOrder;
import neu.soft.query.BasePageQuery;

import java.util.List;

public interface PurchaseOrderMapper {

    int addPurchaseOrder(OperationPurchaseOrder purchaseOrder);

    OperationPurchaseOrder findById(Integer purchaseOrderId);

    void batchInsertGoodInfo(List<GoodInfo> goodInfoList);

    List<OperationPurchaseOrder> findByPage(BasePageQuery query);
}
